﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using padnug.Domain;

namespace PadnugRepositoryInterfaces
{
    public interface IPadnugMembership
    {
        bool CreateUser(PadnugUser padnugUser);
        bool DeleteUser(string username, bool deleteAllRelatedData);
        PadnugUser GetUser(string username, string password);
        void UpdateUser(PadnugUser padnugUser);
        bool ValidateUser(string username, string password);
        bool ChangePassword(string userName, string oldPassword, string newPassword);
    }
}
